SftTree/OCX 7.0

SftTreeRowHeaders.WidthPix Property

Softel vdm, Inc.

Defines the width of the row header area.

Syntax       

Get

VB.NET

WPix = object.WidthPix  As Integer

VB

WPix = object.WidthPix  As Long

C#.NET

int WPix = object.WidthPix;

VC++

long WPix = object->WidthPix;
long WPix = object->GetWidthPix();

C

HRESULT object->get_WidthPix(long* WPix);

Delphi

WPix := object.WidthPix   : Integer;

Put

VB.NET

object.WidthPix = WPix  As Integer

VB

object.WidthPix = WPix  As Long

C#.NET

int object.WidthPix = WPix;

VC++

long object->WidthPix = WPix;
void object->PutWidthPix(long WPix);

C

HRESULT object->put_WidthPix(long WPix);

Delphi

object.WidthPix := WPix   : Integer;

object

A SftTreeRowHeaders object.

WPix

Defines the width of the row header area in pixels.

Comments

The WidthPix property defines the width of the row header area.

The RowHeaders.Width and RowHeaders.WidthPix properties are synonyms, but may use different coordinate systems.

The WidthPix property is used to change the width of the row header and row/column header area.

The RowHeaders.OptimalWidth or RowHeaders.MakeOptimal methods can be used to calculate or define the optimal width for the row headers (and row/column headers).  An optimal width allows all text and graphic components in the row headers to be displayed in their entirety, without being clipped.

See Also  SftTreeRowHeaders Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com